package com.homework8;

public class Test {
    public static void main(String[] args) {
        ICalculator add=new Add();
        ICalculator ride=new Ride();
        ICalculator minus=new Minus();
        ICalculator divide=new Divide();
        UseCompute.useCom(add,2,3);
        UseCompute.useCom(ride,2,3);
        UseCompute.useCom(minus,2,3);
        UseCompute.useCom(divide,2,3);

    }
}
